home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI IndiZone 2
/
SGI IndiZone 2.iso
/
OutOfBox.idb
/
usr
/
people
/
tour
/
oob
/
scenegraphs
/
stopMotion
/
panel.iv.z
/
panel.iv
Wrap
Text File
|
1994-12-16
|
8KB
|
547 lines
#Inventor V1.0 ascii
Switch {
DEF BASE_MAT Material {
ambientColor 0 0 0
diffuseColor .1 .1 .1
specularColor .6 .6 .6
shininess .25
}
DEF BUTTON_MAT Material {
ambientColor 0 0 0
diffuseColor .1 .1 .1
specularColor .6 .6 .6
shininess .25
}
DEF HL_BUTTON_MAT Material {
ambientColor 0 0 0
diffuseColor .2 .2 .2
specularColor .6 .6 .6
shininess .25
}
DEF UNPICKABLE PickStyle {
style UNPICKABLE
}
DEF BUTTON BevelBox {
width 2
height 2
depth .3
bevel .1
}
DEF XF_DOWN Translation {
translation 0 0 -.2
}
DEF TRIANGLE Separator {
Scale {
scaleFactor .5 .5 1
}
Coordinate3 {
point [-1 -1 1,
1 -1 1,
0 1 1,
-1 -1 0,
1 -1 0,
1 -1 1,
-1 -1 1,
1 -1 0,
0 1 0,
0 1 1,
1 -1 1,
0 1 0,
-1 -1 0,
-1 -1 1,
0 1 1
]
}
FaceSet {
numVertices [3,4,4,4]
}
}
DEF ROT_90_LEFT RotationXYZ {
axis Z
angle 1.5708
}
DEF ROT_90_RIGHT RotationXYZ {
axis Z
angle -1.5708
}
DEF ROT_180_RIGHT RotationXYZ {
axis Z
angle -3.14159
}
}
Separator {
PerspectiveCamera {
position 0 -.6 16.6
aspectRatio 3.04478
heightAngle 0.307
nearDistance .1
farDistance 20
}
DirectionalLight {
direction 0 0 -1
color 1 1 1
}
DirectionalLight {
direction -1 -.3 -.3
}
ShapeHints {
hints (SOLID | ORDERED | CONVEX)
}
Rotation {
rotation 1 0 0 -.65
}
#
# The base panel
#
Separator {
Label { label glRenderCache }
USE UNPICKABLE
Translation {
translation 0 0 -1
}
USE BASE_MAT
BevelBox {
width 14
height 6
depth 1
bevel .2
}
}
Separator {
Translation {
translation -5 1 0
}
Button {
label recordVideo
type CONFIRM
# Up
DEF UP Separator {
Label { label glRenderCache }
USE BUTTON_MAT
USE BUTTON
Separator {
USE UNPICKABLE
Material {
diffuseColor .4 0 0
}
DEF CIRCLE Separator {
Transform {
translation 0 0 .4
rotation 1 0 0 1.5708
}
Complexity {
value .4
}
Cylinder {
height .2
radius .4
}
}
}
}
# Highlight Up
Separator {
Label { label glRenderCache }
USE HL_BUTTON_MAT
USE BUTTON
Separator {
USE UNPICKABLE
Material {
diffuseColor .6 0 0
}
USE CIRCLE
}
}
# Down
Separator {
Label { label glRenderCache }
USE XF_DOWN
USE HL_BUTTON_MAT
USE BUTTON
Separator {
USE UNPICKABLE
Material {
diffuseColor 1 0 0
}
USE CIRCLE
}
}
}
}
Separator {
Translation {
translation -2 1 0
}
Button {
label preview
type CONFIRM
# Up
Separator {
Label { label glRenderCache }
USE BUTTON_MAT
USE BUTTON
Separator {
USE UNPICKABLE
Material {
diffuseColor .2 .2 .2
}
DEF LITTLE_PREVIEW Separator {
Transform {
translation 0 0 .3
scaleFactor 1 1 .2
rotation 0 0 1 -1.5708
}
USE TRIANGLE
}
Material {
diffuseColor .6 .6 .6
}
DEF BIG_PREVIEW Separator {
Transform {
translation .3 0 .3
scaleFactor .5 .5 .21
rotation 0 0 1 -1.5708
}
USE TRIANGLE
}
}
}
# Highlight Up
DEF PLAY_HL_UP Separator {
Label { label glRenderCache }
USE HL_BUTTON_MAT
USE BUTTON
Material {
diffuseColor .3 .3 .3
}
USE LITTLE_PREVIEW
Material {
diffuseColor .8 .8 .8
}
USE BIG_PREVIEW
}
# Down
Separator {
Label { label glRenderCache }
USE XF_DOWN
USE PLAY_HL_UP
}
}
}
Separator {
Translation {
translation 1 1 0
}
Button {
label play
type CONFIRM
# Up
Separator {
Label { label glRenderCache }
USE BUTTON_MAT
USE BUTTON
Material {
diffuseColor .6 .6 .6
}
DEF PLAY Separator {
USE UNPICKABLE
USE ROT_90_RIGHT
Transform {
translation 0 0 .3
scaleFactor 1 1 .2
}
USE TRIANGLE
}
}
# Highlight Up
DEF PLAY_HL_UP Separator {
Label { label glRenderCache }
USE HL_BUTTON_MAT
USE BUTTON
Separator {
Material {
diffuseColor .8 .8 .8
}
USE PLAY
}
}
# Down
Separator {
Label { label glRenderCache }
USE XF_DOWN
USE PLAY_HL_UP
}
}
}
Separator {
Translation {
translation -5.5 -1.5 0
}
Button {
label prevFrame
type PUSH
# Up
DEF PREV_FRAME_UP Separator {
Label { label glRenderCache }
USE BUTTON_MAT
DEF PREV_FRAME_BUTTON Separator {
USE ROT_90_LEFT
BevelTri {
width 1
height 1
depth .3
bevel .1
}
}
}
# Highlight Up
DEF HL_PREV_FRAME_UP Separator {
Label { label glRenderCache }
USE HL_BUTTON_MAT
USE PREV_FRAME_BUTTON
}
# Down
DEF PREV_FRAME_DOWN Separator {
Label { label glRenderCache }
USE XF_DOWN
USE HL_BUTTON_MAT
USE PREV_FRAME_BUTTON
}
}
}
Separator {
Translation {
translation 5.5 -1.5 0
}
Button {
label nextFrame
type PUSH
# Up
Separator {
Label { label glRenderCache }
USE ROT_180_RIGHT
USE PREV_FRAME_UP
}
# Highlight Up
Separator {
Label { label glRenderCache }
USE ROT_180_RIGHT
USE HL_PREV_FRAME_UP
}
# Up
Separator {
Label { label glRenderCache }
USE ROT_180_RIGHT
USE PREV_FRAME_DOWN
}
}
}
Separator {
Slider {
label frameSlider
minValue 1
maxValue 30
step 1
value 1
minPos -4.25 -1.5 0
maxPos 4.25 -1.5 0
# Not highlighted
Separator {
USE BUTTON_MAT
DEF THUMB Separator {
BevelBox {
width 1.5
height 1
depth .3
bevel .1
}
Material {
diffuseColor .8 .8 .8
}
Font {
name Helvetica
}
Transform {
translation 0 -.25 .35
scaleFactor .08 .08 .08
}
Label {
label frameSliderText
}
Text3 {
justification CENTER
parts FRONT
string 1
}
}
}
# Highlighted
Separator {
USE HL_BUTTON_MAT
USE THUMB
}
# Track the slider rides on
Separator {
Label { label glRenderCache }
Transform {
translation 0 -1.5 0
}
Material {
diffuseColor .4 .4 .4
}
BevelBox {
width 9
height .15
depth .15
bevel .05
}
}
}
}
Separator {
Translation {
translation 5 1 0
}
Button {
label recordAudio
type CONFIRM
# Up
DEF UP Separator {
Label { label glRenderCache }
USE BUTTON_MAT
USE BUTTON
Separator {
Material {
diffuseColor .4 0 0
}
DEF MICROPHONE Separator {
USE UNPICKABLE
Complexity {
value .2
}
Transform {
translation 0 .2 .3
scaleFactor .3 .3 .3
}
File {
name mic.iv
}
}
}
}
# Highlight Up
Separator {
Label { label glRenderCache }
USE HL_BUTTON_MAT
USE BUTTON
Separator {
Material {
diffuseColor .6 0 0
}
USE MICROPHONE
}
}
# Down
Separator {
Label { label glRenderCache }
USE XF_DOWN
USE HL_BUTTON_MAT
USE BUTTON
Separator {
Material {
diffuseColor 1 0 0
}
USE MICROPHONE
}
}
}
}
Separator {
Translation {
translation 6 -3 0
}
Button {
label exit
type CONFIRM
# Separator {
# Label { label glRenderCache }
# Material {
# diffuseColor .4 0 0
# }
# DEF EXIT_CUBE Cube {
# width .3
# height .3
# depth .3
# }
# }
#
# Separator {
# Label { label glRenderCache }
# Material {
# diffuseColor .6 0 0
# }
# Scale {
# scaleFactor 1.5 1.5 1.5
# }
# USE EXIT_CUBE
# }
#
# Separator {
# Label { label glRenderCache }
# Material {
# diffuseColor 1 0 0
# }
# Scale {
# scaleFactor 1.5 1.5 1.5
# }
# USE EXIT_CUBE
# }
}
}
}